package com.lingyun.financialmanagement.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingyun.financialmanagement.dao.pojo.Bill;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BillMapper extends BaseMapper<Bill> {
    @Select("select * from bill where name=#{name}")
    Bill selectByName(String name);

    @Select("select * from bill where tax_rate=#{taxRate}")
    Bill selectByTaxRate(Float taxRate);
}
